package cn.tedu.homeword;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface SelectSingleProduct {
    @Select("select id,title,price,stock from product where id=#{id}")
    Product selectproduct(Long id);
}
